interface ComputePower{
    double computePower(){
        
    }
}
class Chip implements ComputePower{
    Chip(){
        return 16.6;
    }
}
class Discrete implements ComputePower{
    Discrete(){
        return 40.0;
    }
}
class Phone{
    private ComputePower[] parts;
    double getTotalPower(ComputePower[i] parts){
        return 
    }
}